package com.lakeworks.decision.base;


import com.lakeworks.decision.handler.AdvanceTicketDecisionHandler;
import com.lakeworks.decision.handler.BackTicketStateHandler;
import com.lakeworks.decision.handler.PushTicketDecisionHandler;
import com.lakeworks.decision.handler.UpdateTicketHandler;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum DecisionType {

    /**
     * 工单流程变化
     */
    TICKET_ADVANCE(AdvanceTicketDecisionHandler.class),

    /**
     * 推送工单信息
     */
    TICKET_PUSH(PushTicketDecisionHandler.class),

    /**
     * 工单信息反馈
     */
    TICKET_BACK(BackTicketStateHandler.class),

    /**
     * 修改工单
     * */
    TICKET_UPDATE(UpdateTicketHandler.class);

    private Class<? extends DecisionHandler> implementation;

}
